package com.gao.mybatis.configuration;

import lombok.Data;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 * @since 2020-03-28 20:46
 */
@Data
public class Configuration {

    DataSource dataSource;

    Map<String,MappedStatement> statementMap = new HashMap<>();


    public void put(String id, MappedStatement statement) {
        statementMap.put(id,statement);
    }
}
